home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 May: Tool Chest / Dev.CD May 98 TC.toast / Tool Chest / Developer Utilities / VersionEdit 1.1 / Project Includes / ProductInformation.h < prev   
Encoding:
Text File  |  1995-07-24  |  1.1 KB  |  70 lines  |  [TEXT/MPS ]

  1.  
  2. // ProductInformation.h
  3. // Defines for Accessing Product Information
  4. // April 27, 1994
  5.  
  6. // Copyright © 1994, Teknosys, Inc.
  7.  
  8.  
  9. #ifndef    __PRODUCTINFORMATION__
  10. #define    __PRODUCTINFORMATION__
  11.  
  12.  
  13. // ResTypes
  14.  
  15. #define    kVersionResType        'vers'
  16. #define    kProductInfoResType    'STR#'
  17. #define    kProductDescResType    'TEXT'
  18.  
  19.  
  20. // Product Information Resources
  21.  
  22. enum
  23. {
  24.     kFileVersionID                    = 1,
  25.     kProductVersionID                = 2,
  26.  
  27.     kProductInfoID                    = 1,
  28.         kProductName                = 1,
  29.         kProductFileName            = 2,
  30.         kProductReleaseYear        = 3,
  31.  
  32.     kVendorInfoID                    = 2,
  33.         kVendorAuthor                = 1,
  34.         kVendorCompany                = 2,
  35.         kVendorAddress                = 3,
  36.         kVendorTelephone            = 4,
  37.         kVendorFax                    = 5,
  38.         kVendorAppleLink            = 6,    // AppleLink accounts are moving to eWorld soon!
  39.         kVendoreWorld                = 6,
  40.         kVendorAmericaOnline        = 7,
  41.         kVendorCompuServe            = 8,
  42.         kVendorInternet            = 9,
  43.  
  44.     kProductDescriptionID        = 1
  45. };
  46.  
  47.  
  48. #ifdef __cplusplus
  49. extern "C" {
  50. #endif
  51.  
  52.  
  53. // Function prototypes
  54.  
  55. extern long GetVersionNumber(short versionID);
  56.  
  57. extern OSErr GetVersionNumberString(short versionID, Str255 str);
  58.  
  59. extern OSErr GetVersionMessage(short versionID, Str255 message);
  60.  
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65.  
  66.  
  67. #endif
  68.  
  69.  
  70.